<!DOCTYPE html>
<html lang="{{ lang | default('zh-CN') }}">
<head>
    <meta charset="UTF-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <meta name="viewport" content="width=device-width, initial-scale=1"/>

    <title>{{ title }}</title>

    {# ──────────────── Favicon & Web-Manifest ──────────────── #}
    <!-- 主 ICO 与 SVG -->
    <link rel="icon" href="{{ '/assets/favicon/favicon.ico' | url }}" type="image/x-icon">
    <link rel="icon" href="{{ '/assets/favicon/favicon.svg' | url }}" type="image/svg+xml">

    <!-- 其它尺寸 / 平台 -->
    <link rel="icon" type="image/png" href="{{ '/assets/favicon/favicon-96x96.png' | url }}" sizes="96x96">
    <link rel="apple-touch-icon" sizes="180x180" href="{{ '/assets/favicon/apple-touch-icon.png' | url }}">
    <link rel="manifest" href="{{ '/assets/favicon/site.webmanifest' | url }}">

    {# ──────────────── 字体 & 样式表 ──────────────── #}
    <link href="https://fonts.googleapis.com/css2?family=Google+Sans:wght@400;600&family=Roboto:wght@400;600&display=swap" rel="stylesheet">
    <link rel="stylesheet" href="{{ '/assets/styles.css' | url }}">
</head>
<body>
{% include "header.njk" %}

<main class="container">
    {{ content | safe }}
</main>

<footer class="site-footer">
    <small>© 2025 Snow Lang Project</small>
</footer>
</body>
</html>
